<template>
    <div class="update-nickname full">
        <div class="input-name">
            <div class="input-txt">昵称</div>
            <input v-model="nickname" type="text" placeholder="输入新昵称"/>
        </div>
        <div class="bottom-button">
            <div @click="confirm">确定</div>
        </div>
    </div>
</template>

<script>
    export default {
        name: "UpdateNickname",
        data () {
            return {
                nickname: ''
            }
        },
        methods: {
            confirm () {}
        }
    }
</script>

<style scoped lang="scss">
    .update-nickname{
        position: relative;
        .input-name{
            padding-left: 0.5rem;
            .input-txt{
                font-size:0.32rem;
                font-weight:bold;
                color:rgba(51,51,51,1);
                line-height: 1rem;
            }
            input{
                width:6.5rem;
                height:0.88rem;
                background:rgba(245,245,245,1);
                border-radius:0.1rem;
                padding-left: 0.2rem;
                outline: none;
                border: none;
            }
            ::-webkit-input-placeholder { /* WebKit browsers */
                font-size:0.28rem;
                font-weight:500;
                color:rgba(204,204,204,1);
            }
        }
        .bottom-button {
            position: absolute;
            left: 0;
            bottom: 2.4rem;
            width: 100%;

            > div {
                width: 6.3rem;
                line-height: 0.88rem;
                background: rgba(255, 150, 38, 1);
                border-radius: 0.1rem;
                text-align: center;
                font-size: 0.32rem;
                font-weight: bold;
                color: rgba(255, 255, 255, 1);
                margin: 0 auto;
            }
        }
    }
</style>